UCF STIG Viewer Logo

Application role permissions must not be assigned to the Oracle PUBLIC role.


Overview

Finding ID Version Rule ID IA Controls Severity
V-53993 O112-BP-022800 SV-68233r1_rule Medium
Description
Application roles have been granted to PUBLIC. Permissions granted to PUBLIC are granted to all users of the database. Custom roles should be used to assign application permissions to functional groups of application users. The installation of Oracle does not assign role permissions to PUBLIC.
STIG Date
Oracle Database 11.2g Security Technical Implementation Guide 2019-09-27

Details

Check Text ( C-54783r1_chk )
From SQL*Plus:

select granted_role from dba_role_privs where grantee = 'PUBLIC';

If any roles are listed, this is a Finding.
Fix Text (F-58833r1_fix)
Revoke role grants from PUBLIC.

Do not assign role privileges to PUBLIC.

From SQL*Plus:

revoke [role name] from PUBLIC;